Skip to content

Report repeats, intervals, and a judge audit in the agent benchmark - #721

Open
jaywyawhare wants to merge 1 commit into
hydra-db:mainfrom
jaywyawhare:bench/agent-repeats
Open

jaywyawhare wants to merge 1 commit into
hydra-db:mainfrom
jaywyawhare:bench/agent-repeats

Conversation

@jaywyawhare

@jaywyawhare jaywyawhare commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Make the agent benchmark say how much of a result is noise. Every question now runs several times per condition, accuracy comes with a 95% interval, and each condition is compared with baseline question by question. A judge audit file lets a human check the grader.

Implementation details

Decisions

  • --repeats N (default 3) runs every question N times per condition; each run records its attempt. The cost estimate scales with repeats.
  • The interval is a seeded bootstrap that resamples questions, not runs (2,000 samples, stdlib only), since repeats of one question are not independent.
  • Accuracy per question kind per condition.
  • Paired comparison against baseline: each question scores its mean (correct 1, partial 0.5, wrong 0), counted as better, worse, or tied, plus the interval of the accuracy difference.
  • A stderr warning when the judge is the agent model. The README recommends a different judge.
  • --audit N writes <timestamp>-audit.md with N seeded-random judged runs and an empty human verdict column. The README says how to report agreement and treats agreement below about 85% as a reason to change the judge or rubric.

Validation

  • The changed tests fail on base and pass here.
  • scripts/precheck.py passes (403 changed lines, clean trial merge).
  • tests/test_agent_benchmark.py passes on Kuzu. Ruff passes.

Limits

Benchmark only, Python only. No dataset, condition, or SDK change.

Linked issue

Closes #717

AI Assistance

AI tools helped write and test parts of this. I reviewed and ran every change.

Checklist

  • Implements an issue a maintainer has /approved.
  • Small and scoped to that issue.
  • New errors have a code and hint, the same on API, CLI, and MCP in both SDKs (see AGENTS.md). No new codes.
  • Breaking changes described below, or none.

Breaking changes

None. A run now makes three times the model calls by default; --repeats 1 gives the old behavior.


Run Proof on this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@arrry-hydraDB arrry-hydraDB added feature New capability effort: M Several files, both SDKs labels Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort: M Several files, both SDKs feature New capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Report repeats, intervals, and a judge audit in the agent benchmark

2 participants